package com.fish.io;

import java.io.InputStream;

public class Resources {

    //根据配置文件路径获取输入流
    public static InputStream getResourceAsStream(String path){
        InputStream inputStream = Resources.class.getClassLoader().getResourceAsStream(path);
        return inputStream;
    }
}
